package com.base.third.yim

import org.springframework.stereotype.Service

@Service
class YIMService(
    val yimClient_User: YIMClient_User,
) {
    fun registerToken(yimUser: String): String? {
        val yimResult = yimClient_User.registerToken(yimUser)
        if (yimResult.isNullOrEmpty()) return null
        return yimResult["token"]?.toString()
    }
}